]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme/notifications: Remove some duplicate or pointless styling
authornana-4 <hnmaigo@gmail.com>
Tue, 4 Feb 2020 16:07:55 +0000 (01:07 +0900)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 6 Feb 2020 20:31:42 +0000 (20:31 +0000)
Those styles are defined in .message and do not need to be overridden in
.notification-banner.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

data/theme/gnome-shell-sass/widgets/_notifications.scss

index cc6937964093c49586e29ed32743bdba76a2d7e2..7d0cda2ba2988e80ed16754d7d43ab08db832ad8 100644 (file)
@@ -7,28 +7,8 @@ $notification_banner_width: 34em;
 .notification-banner {
   min-height: $notification_banner_height;
   width: $notification_banner_width;
-  @include fontsize($base_font_size);
-  margin: $base_margin;
-  border-radius: $modal_radius;
-
-  .message-title { color: $fg_color }
-  .message-content { color: $fg_color; }
-
-  &:hover { background: $bg_color; }
-  &, &:focus, &:active {
-    background-color: $bg_color;
-    .message-title { color: $fg_color }
-    .message-content { color: $fg_color; }
-  }
-
-  // icon
-  .message-icon-bin > StIcon {
-    icon-size: $base_icon_size * 2;
-    color: $fg_color;
-  }
 
   .notification-actions {
-    padding-top: 0;
     spacing: 0;
   }